﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using OnlineFamilyCalendar.Model;

namespace OnlineFamilyCalendar.Data
{
    public interface IFamilyMemberRepository
    {
        FamilyMember GetFamilyMemberByLoginname(string loginName);
        FamilyMember GetFamilyMemberByFamilyMemberId(Guid familyMemberId);
        void AddFamilyMember(FamilyMember familyMember);
        void DeleteFamilyMember(FamilyMember familyMember);

        LoginInformation GetLoginInformationByLoginId(Guid loginId);
        void AddLoginInformation(LoginInformation loginInformation);        
        void UpdateLoginInformation(LoginInformation loginInformation);

        void SaveChanges();

        
    }
}
